package main

import (
	"novel-nets/addconfig"
	"novel-nets/cache"
	"novel-nets/model"
	"novel-nets/router"
)

func main() {
	// 1.创建路由
	r := router.Init()
	addconfig.Init()
	cache.Init()
	model.Init()
	r.Run(":8000")
}
